// 权限管理
const express = require("express");
const router = express.Router()
const permissionHandle = require('../router_handler/permissionHandle.js')

// 获取权限列表
router.get('/:type', permissionHandle.getPermissionInfo)
// 获取角色列表
router.get('/roles/list', permissionHandle.getRolesList)
// 删除角色权限
router.delete('/roles/:id', permissionHandle.deleteRoles)



module.exports = router